package com.gw2.gw2world.web.server.model;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Column;

@Entity
public class MetaEvent {
	@Id
	@Column(name="id")
	private String id;
	@Column(name="chest")
	private boolean chest;
	@Column(name="events")
	private List<Event> events;
	public MetaEvent() {
		events=new ArrayList<Event>();
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public boolean isChest() {
		return chest;
	}
	public void setChest(boolean chest) {
		this.chest = chest;
	}
	public List<Event> getEvents() {
		return events;
	}
	
}
